<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<{$header_charset}>" />
<link href="images/admin/admin.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="block"></div>
<div class="block"></div>
<table width="99%" border="0" align="center" cellpadding="5" cellspacing="1" class="commontable">
<form action="admincp.php?action=editsection&id=<{$id}>" method="post" name="sectionedit">
<tr class="header">
	<td colspan="10"><{$lan.section_edit}></td>
</tr>
<tr>
	<td><{$lan.section_name}></td>
	<td><input type="text" name="section" value="<{$section}>"></td>
</tr>
<tr>
	<td><{$lan.alias}></td>
	<td><input type="text" name="alias" value="<{$alias}>"></td>
</tr>
<tr>
	<td><{$lan.description}></td>
	<td><textarea name="description" cols="60" rows="10"><{$description}></textarea></td>
</tr>
<tr>
	<td><{$lan.keywords}></td>
	<td><textarea name="keywords" cols="60" rows="3"><{$keywords}></textarea></td>
</tr>
<tr>
		<td><{$lan.defaulttemplate}></td>
		<td><select name="defaulttemplate">
		<option value=""><{$lan.default}></option>
		<{$selecttemplates}>
		</select></td>
    </tr>
    <tr>
      <td><{$lan.listtemplate}></td>
      <td><select name="listtemplate">
        <option value=""><{$lan.default}></option>
        <{$selecttemplates}>
      </select>
      </td>
    </tr>
<tr>
	<td><{$lan.ifcreatehtml}></td>
	<td>
		<input type="radio" name="html" value="0"<{if $html eq 0}> checked<{/if}>><{$lan.withglobal}>
		<input type="radio" name="html" value="1"<{if $html eq 1}> checked<{/if}>><{$lan.yes}>
		<input type="radio" name="html" value="-1"<{if $html eq -1}> checked<{/if}>><{$lan.no}>
	</td>
</tr>
<tr>
	<td><{$lan.sectionhomemethod}></td>
	<td><input type="text" value="<{$sectionhomemethod}>" name="sectionhomemethod" size="50"><br>
       (<{$lan.leaveempty}>:"<{$setting_sectionhomemethod}>"&nbsp;<a href="setting.php?action=generally"><{$lan.modifyglobalsetting}></a>)<br>
<{$lan.sectionhomemethod_description}></td>
</tr>
<tr>
	<td><{$lan.sectionpagemethod}></td>
	<td><input type="text" value="<{$sectionpagemethod}>" name="sectionpagemethod" size="50"><br>
       (<{$lan.leaveempty}>:"<{$setting_sectionpagemethod}>"&nbsp;<a href="setting.php?action=generally"><{$lan.modifyglobalsetting}></a>)<br>
<{$lan.sectionpagemethod_description}></td>
</tr>
<tr>
	<td><{$lan.order}></td>
	<td><input type="text" name="order" value="<{$orderby}>"></td>
</tr>
<script>
document.sectionedit.html.value = "<{$html}>";
document.sectionedit.defaulttemplate.value = "<{$defaulttemplate}>";
document.sectionedit.listtemplate.value = "<{$listtemplate}>";
document.sectionedit.sectionpagemethod.value = "<{$sectionpagemethod}>";
document.sectionedit.sectionhomemethod.value = "<{$sectionhomemethod}>";
</script>
<tr>
	<td colspan="10" align="center"><input type="submit" value="<{$lan.save}>" name="section_edit_submit"></td>
</tr>
</form>
</table>
</body>
</html>